package com.wnxy.service;

import com.github.pagehelper.PageInfo;
import com.wnxy.entity.Employee;
import com.wnxy.service.impl.EmployeeServiceImpl;

import java.util.List;

public interface EmployeeService {
    //查询所有
    List<Employee> findAllemp();
    //模糊查询加分页
    PageInfo<Employee> findOnePage(int currentPage, Employee esi);
    //删除
    boolean deleteById(Integer id);
    //添加员工
    boolean addEmp(Employee employee);
    //修改员工
    boolean updateEmp(Employee emp);
    //修改图片
    boolean updateImg( Integer id,String image);
}
